﻿
CREATE FUNCTION [dbo].[IsContIn] (@Cont TipCont, @Multime varchar(2000))  
RETURNS int AS  
BEGIN 
DECLARE @ret int
SET @ret = CHARINDEX(LTRIM(RTRIM(@Cont)), @Multime)
return @ret
END